﻿using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IServices.StoreHouse
{
    public  interface IWarehouseServices
    {
        public Task<IEnumerable<Warehouse>> GetAllAsync();
        public Task<IEnumerable<Warehouse>> GetAsync(int PageIndex, int PageSize, string WarehouseNumber, string WarehouseName);
        public Task<int> GetCountAsync(string WarehouseNumber, string WarehouseName);
        public Task<bool> UpdateAsync(Warehouse model);
        public Task<bool> AddAsync(Warehouse model);
        public Task<bool> DeleteAsync(int[] Ids);
        public Task<bool> DeleteAsync(int Id);
    }
}
